<h4>Tool</h4><table border="0"><tr><td valign="top"><b>Name</b></td><td valign="top">Maximum Flow Path Length</td></tr><tr><td valign="top"><b>ID</b></td><td valign="top">27</td></tr><tr><td valign="top"><b>Author</b></td><td valign="top">O.Conrad (c) 2016</td></tr><tr><td valign="top"><b>Specification</b></td><td valign="top">grid</td></tr></table><hr><h4>Description</h4>This tool calculates the maximum upstream or downstream distance or weighted distance along the flow path for each cell based on 'Deterministic 8 (D8)' (O'Callaghan and Mark 1984) flow directions.

Reference:
O'Callaghan, J.F., Mark, D.M. (1984): 'The extraction of drainage networks from digital elevation data'.  Computer Vision, Graphics and Image Processing, 28:323-344
<hr><h4>Parameters</h4><table border="1" width="100%" valign="top" cellpadding="5" rules="all"><tr><th>Name</th><th>Type</th><th>Identifier</th><th>Description</th><th>Constraints</th></tr>
<tr><th colspan="5">Input</th></tr><tr><td>Elevation </td><td>Grid (input)</td><td>ELEVATION</td><td></td><td></td></tr><tr><td>Weights (*)</td><td>Grid (optional input)</td><td>WEIGHTS</td><td></td><td></td></tr><tr><th colspan="5">Output</th></tr><tr><td>Flow Path Length</td><td>Grid (output)</td><td>DISTANCE</td><td></td><td></td></tr><tr><th colspan="5">Options</th></tr><tr><td>Direction of Measurement</td><td>Choice</td><td>DIRECTION</td><td></td><td>Available Choices:
[0] downstream
[1] upstream
Default: 0</td></tr></table>(*) <i>optional</i>